package cate.game.role.res.guild.po;

import cate.game.role.Role;
import cate.game.role.RoleSnapshot;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "公会申请详情")
public class GuildApplyDetailPO {
    @NoteField(value = "申请时间")
    public long applyTime;

    @NoteField(value = "该主角的快照")
    public RoleSnapshot it;

    public GuildApplyDetailPO() {}

    public GuildApplyDetailPO(Role role) {
        it = new RoleSnapshot();
        it.read(role);
        applyTime = System.currentTimeMillis();
    }
}
